import { createRouter, createWebHashHistory } from "vue-router";
import Index from "../Index.vue";

const routes = [
//   {
//     path: "/",
//     name: "index",
//     component: Index,
//   },
  {
    path: "/",
    name: "Home",
    component: () =>
      import(/* webpackChunkName: "about" */ "../components/Home.vue"),
  },
];

const router = createRouter({
  history: createWebHashHistory(process.env.BASE_URL),
  routes,
});

export default router;
